import request from '@/utils/request'

// 查询大队施工人员列表
export function listDeptConsUser(query) {
  return request({
    url: '/check/deptConsUser/list',
    method: 'get',
    params: query
  })
}

// 查询大队施工人员详细
export function getDeptConsUser(deptConsUserId) {
  return request({
    url: '/check/deptConsUser/' + deptConsUserId,
    method: 'get'
  })
}

// 新增大队施工人员
export function addDeptConsUser(data) {
  return request({
    url: '/check/deptConsUser',
    method: 'post',
    data: data
  })
}

// 修改大队施工人员
export function updateDeptConsUser(data) {
  return request({
    url: '/check/deptConsUser',
    method: 'put',
    data: data
  })
}

// 删除大队施工人员
export function delDeptConsUser(deptConsUserId) {
  return request({
    url: '/check/deptConsUser/' + deptConsUserId,
    method: 'delete'
  })
}
